package com.sora.registry;

import java.net.InetAddress;
import java.net.InetSocketAddress;

/**
 * @Classname: ServiceRegistry
 * @Description: 服务注册
 * @Author: Stonffe
 * @Date: 2023/4/30 17:07
 */
public interface ServiceRegistry {
    /**
     * 将一个服务注册进注册表
     * @param serviceName
     * @param inetSocketAddress
     */
    void register(String serviceName, InetSocketAddress inetSocketAddress);
}
